package com.bnz.dao;

import com.bnz.entity.User;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

import javax.persistence.criteria.CriteriaBuilder;

/**
 * @author xy
 * @date 2022/10/27
 */
@Repository
public interface UserDao  extends JpaRepository<User, Integer> {
    User findByUsernameIs(String username);
}
